{include file="admin/public/header" /}
<style type="text/css">
.tab-box{height: 345px; overflow: hidden;}
</style>
<div class="nav-tabs-custom">
	<ul class="nav nav-tabs">
		<li class="active"><a href="{:url('/'.$from.'/upload/index', $param)}">上传{if $param['type'] == 'image'}图片{else/}文件{/if}</a></li>
		<li><a href="{:url('/'.$from.'/upload/server', $param)}">服务器{if $param['type'] == 'image'}图片{else/}文件{/if}</a></li>
	</ul>
	<div class="tab-content">
		<!-- Font Awesome Icons -->
		<div class="tab-pane tab-box active" id="upload">
			<div id="uploader" class="wu-example">
				<div class="queueList">
					<div id="dndArea" class="placeholder">
						<div id="filePicker"></div>
						<p>或将{if $param['type'] == 'image'}图片{else/}文件{/if}拖到这里，单次最多可选300张</p>
					</div>
				</div>
				<div class="statusBar" style="display:none;">
					<div class="progress">
						<span class="text">0%</span>
						<span class="percentage"></span>
					</div><div class="info"></div>
					<div class="btns">
						<div id="filePicker2"></div><div class="uploadBtn">开始上传</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
{include file="admin/public/footer" /}